sip-rec-routing

This command configures the SIP Recording Rules table, which lets you define SIP-based media recording rules. A SIP Recording rule defines call routes that you want to record.

Syntax

(config-voip)# sip-definition sip-recording sip-rec-routing <Index>
(sip-rec-routing-<Index>)# 

Command

Description

Index

Defines the table row index.

caller {both|peer-party|recorded-party}

Defines which calls to record according to which party is the caller.

condition-name

Assigns a Message Condition rule to the SIP Recording rule.

peer-ip-group-name

Assigns an IP Group Set from the IP Group Set table to represent the peer IP Group that is participating in the call.

peer-trunk-group-id

Defines the peer Trunk Group that is participating in the call (applicable only to Gateway calls).

recorded-dst-pattern

Defines calls to record based on destination number or URI.

recorded-ip-group-name

Assigns an IP Group Set from the IP Group Set table to represent the entity participating in the call and the recording is done on the leg interfacing with this IP Group.

recorded-src-pattern

Defines calls to record based on source number or URI.

srs-ip-group-name

Assigns an IP Group Set from the IP Group Set table to represent the recording server (SRS).

srs-ip-group-set-name

Assigns an IP Group Set from the IP Group Set table to represent a group of SRSs (IP Groups) for load balancing.

srs-red-ip-group-name

Assigns an IP Group Set from the IP Group Set table to represent the redundant SRS in the active-standby pair for SRS redundancy.

srs-role

Defines a condition (optional) based on role value for matching the rule when the recording is triggered by a REST request.

trigger {call-connect|media-start|rest}

Defines what triggers the device to record the call for this rule.

Command Mode

Privileged User

Example

This example records calls between IP Groups "ITSP" and "IPBX", sending them to IP Group "SIPREC" (SRS):

(config-voip)# sip-definition sip-recording sip-rec-routing 0
(sip-rec-routing-0)# recorded-ip-group-name ITSP
(sip-rec-routing-0)# peer-ip-group-name IPBX
(sip-rec-routing-0)# srs-ip-group-name SIREC
(sip-rec-routing-0)# caller both
(sip-rec-routing-0)# activate